cmake_minimum_required(VERSION 3.30.2)
project (json)
# 设置C++版本
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# 调试开关
option(WITH_DEBUG_INFO "Build with debug info" ON)
if(WITH_DEBUG_INFO)
    set(CMAKE_BUILD_TYPE Debug)
else()
    set(CMAKE_BUILD_TYPE Release)
endif()

add_subdirectory(code)
add_subdirectory(test)